package cn.iocoder.yudao.module.wecom.controller.admin.msgsendlog.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 消息记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MsgSendLogPageReqVO extends PageParam {

    @Schema(description = "消息类型：1-普通消息；2-定时任务", example = "1")
    private Integer msgType;

    @Schema(description = "发送类型：single-普通客户；group-客户群", example = "1")
    private String chatType;

    @Schema(description = "客户ID集合或群ID集合")
    private String toUserList;

    @Schema(description = "发送人")
    private String sender;

    @Schema(description = "发送内容")
    private String content;

    @Schema(description = "原始消息id", example = "20660")
    private String msgid;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}